#!/usr/bin/env python2
## -*- coding: utf-8 -*-

import sys

def sx(bits, value):
    sign_bit = 1 << (bits - 1)
    return (value & (sign_bit - 1)) - (value & sign_bit)

SymVar_0 = int(sys.argv[1])
ref_263 = SymVar_0
ref_278 = ref_263 # MOV operation
ref_1447366 = ref_278 # MOV operation
ref_1627684 = ref_1447366 # MOV operation
ref_1627692 = (ref_1627684 >> (0x5 & 0x3F)) # SHR operation
ref_1627699 = ref_1627692 # MOV operation
ref_1717854 = ref_1627699 # MOV operation
ref_1717868 = (0x1376783EF7559EA & ref_1717854) # AND operation
ref_1808036 = ref_1717868 # MOV operation
ref_1808038 = ((ref_1808036 >> 56) & 0xFF) # Byte reference - MOV operation
ref_1808039 = ((ref_1808036 >> 48) & 0xFF) # Byte reference - MOV operation
ref_1808040 = ((ref_1808036 >> 40) & 0xFF) # Byte reference - MOV operation
ref_1808041 = ((ref_1808036 >> 32) & 0xFF) # Byte reference - MOV operation
ref_1808042 = ((ref_1808036 >> 24) & 0xFF) # Byte reference - MOV operation
ref_1808043 = ((ref_1808036 >> 16) & 0xFF) # Byte reference - MOV operation
ref_1808044 = ((ref_1808036 >> 8) & 0xFF) # Byte reference - MOV operation
ref_1808045 = (ref_1808036 & 0xFF) # Byte reference - MOV operation
ref_3160576 = ref_278 # MOV operation
ref_3340894 = ref_3160576 # MOV operation
ref_3340900 = (0x1A5612E2 | ref_3340894) # OR operation
ref_4152470 = ref_1808036 # MOV operation
ref_4242605 = ref_4152470 # MOV operation
ref_4242619 = (0x7063FB7 & ref_4242605) # AND operation
ref_4332787 = ref_3340900 # MOV operation
ref_4332791 = ref_4242619 # MOV operation
ref_4332793 = ((ref_4332791 + ref_4332787) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_4422962 = ref_4332793 # MOV operation
ref_4422964 = ((ref_4422962 >> 56) & 0xFF) # Byte reference - MOV operation
ref_4422965 = ((ref_4422962 >> 48) & 0xFF) # Byte reference - MOV operation
ref_4422966 = ((ref_4422962 >> 40) & 0xFF) # Byte reference - MOV operation
ref_4422967 = ((ref_4422962 >> 32) & 0xFF) # Byte reference - MOV operation
ref_4422968 = ((ref_4422962 >> 24) & 0xFF) # Byte reference - MOV operation
ref_4422969 = ((ref_4422962 >> 16) & 0xFF) # Byte reference - MOV operation
ref_4422970 = ((ref_4422962 >> 8) & 0xFF) # Byte reference - MOV operation
ref_4422971 = (ref_4422962 & 0xFF) # Byte reference - MOV operation
ref_5955937 = ref_4422962 # MOV operation
ref_6136255 = ref_5955937 # MOV operation
ref_6136263 = (ref_6136255 >> (0x3 & 0x3F)) # SHR operation
ref_6136270 = ref_6136263 # MOV operation
ref_6226425 = ref_6136270 # MOV operation
ref_6226439 = (0xF & ref_6226425) # AND operation
ref_6406782 = ref_6226439 # MOV operation
ref_6406788 = (0x1 | ref_6406782) # OR operation
ref_6587135 = ref_6406788 # MOV operation
ref_6587137 = ((0x3162E74F << ((ref_6587135 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_7488882 = ref_4422962 # MOV operation
ref_7669200 = ref_7488882 # MOV operation
ref_7669208 = (ref_7669200 >> (0x3 & 0x3F)) # SHR operation
ref_7669215 = ref_7669208 # MOV operation
ref_7759370 = ref_7669215 # MOV operation
ref_7759384 = (0xF & ref_7759370) # AND operation
ref_7939727 = ref_7759384 # MOV operation
ref_7939733 = (0x1 | ref_7939727) # OR operation
ref_8120080 = ref_7939733 # MOV operation
ref_8120082 = ((0x40 - ref_8120080) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_8120090 = ref_8120082 # MOV operation
ref_8210257 = ref_8120090 # MOV operation
ref_8210259 = (ref_8210257 & 0xFFFFFFFF) # MOV operation
ref_8210261 = (0x3162E74F >> ((ref_8210259 & 0xFF) & 0x3F)) # SHR operation
ref_8210268 = ref_8210261 # MOV operation
ref_8300431 = ref_6587137 # MOV operation
ref_8300435 = ref_8210268 # MOV operation
ref_8300437 = (ref_8300435 | ref_8300431) # OR operation
ref_8480780 = ref_8300437 # MOV operation
ref_8480788 = (ref_8480780 >> (0x4 & 0x3F)) # SHR operation
ref_8480795 = ref_8480788 # MOV operation
ref_8570950 = ref_8480795 # MOV operation
ref_8570964 = (0x7 & ref_8570950) # AND operation
ref_8751307 = ref_8570964 # MOV operation
ref_8751313 = (0x1 | ref_8751307) # OR operation
ref_9562798 = ref_278 # MOV operation
ref_9652933 = ref_9562798 # MOV operation
ref_9652947 = ((ref_9652933 - 0x2907943) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_9652955 = ref_9652947 # MOV operation
ref_9743110 = ref_9652955 # MOV operation
ref_9743122 = ref_8751313 # MOV operation
ref_9743124 = ((ref_9743110 << ((ref_9743122 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_9833292 = ref_9743124 # MOV operation
ref_11276007 = ref_278 # MOV operation
ref_11366142 = ref_11276007 # MOV operation
ref_11366156 = ((ref_11366142 - 0x3C563FC) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_11366164 = ref_11366156 # MOV operation
ref_11456327 = ref_11366164 # MOV operation
ref_13620468 = ref_11456327 # MOV operation
ref_14792685 = ref_4422962 # MOV operation
ref_14882820 = ref_14792685 # MOV operation
ref_14882834 = (0xF & ref_14882820) # AND operation
ref_14972994 = ref_14882834 # MOV operation
ref_14973008 = ((ref_14972994 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_15063176 = ref_13620468 # MOV operation
ref_15063180 = ref_14973008 # MOV operation
ref_15063182 = (ref_15063180 | ref_15063176) # OR operation
ref_15153350 = ref_15063182 # MOV operation
ref_16505975 = ref_9833292 # MOV operation
ref_17407695 = ref_15153350 # MOV operation
ref_17497830 = ref_17407695 # MOV operation
ref_17497844 = (0x1F & ref_17497830) # AND operation
ref_17588004 = ref_17497844 # MOV operation
ref_17588018 = ((ref_17588004 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_17678186 = ref_16505975 # MOV operation
ref_17678190 = ref_17588018 # MOV operation
ref_17678192 = (ref_17678190 | ref_17678186) # OR operation
ref_17768360 = ref_17678192 # MOV operation
ref_19120985 = ref_15153350 # MOV operation
ref_20293202 = ref_4422962 # MOV operation
ref_20383337 = ref_20293202 # MOV operation
ref_20383351 = (0xF & ref_20383337) # AND operation
ref_20473511 = ref_20383351 # MOV operation
ref_20473525 = ((ref_20473511 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_20563693 = ref_19120985 # MOV operation
ref_20563697 = ref_20473525 # MOV operation
ref_20563699 = (ref_20563697 | ref_20563693) # OR operation
ref_20653867 = ref_20563699 # MOV operation
ref_23088505 = ref_20653867 # MOV operation
ref_24260722 = ref_20653867 # MOV operation
ref_24350857 = ref_24260722 # MOV operation
ref_24350871 = (0xF & ref_24350857) # AND operation
ref_24441031 = ref_24350871 # MOV operation
ref_24441045 = ((ref_24441031 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_24531213 = ref_23088505 # MOV operation
ref_24531217 = ref_24441045 # MOV operation
ref_24531219 = (ref_24531217 | ref_24531213) # OR operation
ref_24621387 = ref_24531219 # MOV operation
ref_25974012 = ref_17768360 # MOV operation
ref_26875732 = ref_24621387 # MOV operation
ref_26965867 = ref_26875732 # MOV operation
ref_26965881 = (0x1F & ref_26965867) # AND operation
ref_27056041 = ref_26965881 # MOV operation
ref_27056055 = ((ref_27056041 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_27146223 = ref_25974012 # MOV operation
ref_27146227 = ref_27056055 # MOV operation
ref_27146229 = (ref_27146227 | ref_27146223) # OR operation
ref_27236397 = ref_27146229 # MOV operation
ref_27236399 = ((ref_27236397 >> 56) & 0xFF) # Byte reference - MOV operation
ref_27236400 = ((ref_27236397 >> 48) & 0xFF) # Byte reference - MOV operation
ref_27236401 = ((ref_27236397 >> 40) & 0xFF) # Byte reference - MOV operation
ref_27236402 = ((ref_27236397 >> 32) & 0xFF) # Byte reference - MOV operation
ref_27236403 = ((ref_27236397 >> 24) & 0xFF) # Byte reference - MOV operation
ref_27236404 = ((ref_27236397 >> 16) & 0xFF) # Byte reference - MOV operation
ref_27236405 = ((ref_27236397 >> 8) & 0xFF) # Byte reference - MOV operation
ref_27236406 = (ref_27236397 & 0xFF) # Byte reference - MOV operation
ref_28589022 = ref_24621387 # MOV operation
ref_29761239 = ref_24621387 # MOV operation
ref_29851374 = ref_29761239 # MOV operation
ref_29851388 = (0xF & ref_29851374) # AND operation
ref_29941548 = ref_29851388 # MOV operation
ref_29941562 = ((ref_29941548 << (0x3 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_30031730 = ref_28589022 # MOV operation
ref_30031734 = ref_29941562 # MOV operation
ref_30031736 = (ref_30031734 | ref_30031730) # OR operation
ref_30121904 = ref_30031736 # MOV operation
ref_36524055 = ref_30121904 # MOV operation
ref_37425775 = ref_27236397 # MOV operation
ref_38147145 = ref_27236397 # MOV operation
ref_38237288 = ref_37425775 # MOV operation
ref_38237292 = ref_38147145 # MOV operation
ref_38237294 = ((ref_38237292 + ref_38237288) & 0xFFFFFFFFFFFFFFFF) # ADD operation
ref_38327455 = ref_38237294 # MOV operation
ref_38327469 = (0x7 & ref_38327455) # AND operation
ref_38417629 = ref_38327469 # MOV operation
ref_38417643 = ((ref_38417629 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_38507811 = ref_36524055 # MOV operation
ref_38507815 = ref_38417643 # MOV operation
ref_38507817 = (ref_38507815 | ref_38507811) # OR operation
ref_38597985 = ref_38507817 # MOV operation
ref_39860335 = ((((ref_27236399) << 8 | ref_27236400) << 8 | ref_27236401) << 8 | ref_27236402) # MOV operation
ref_40040661 = (ref_39860335 & 0xFFFFFFFF) # MOV operation
ref_41303007 = ((((ref_27236403) << 8 | ref_27236404) << 8 | ref_27236405) << 8 | ref_27236406) # MOV operation
ref_42565341 = (ref_41303007 & 0xFFFFFFFF) # MOV operation
ref_42565343 = (((ref_42565341 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_42565344 = (((ref_42565341 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_42565345 = (((ref_42565341 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_42565346 = ((ref_42565341 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_42745679 = (ref_40040661 & 0xFFFFFFFF) # MOV operation
ref_44008013 = (ref_42745679 & 0xFFFFFFFF) # MOV operation
ref_44008015 = (((ref_44008013 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_44008016 = (((ref_44008013 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_44008017 = (((ref_44008013 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_44008018 = ((ref_44008013 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_45360546 = ref_1808040 # MOVZX operation
ref_45450681 = (ref_45360546 & 0xFF) # MOVZX operation
ref_47885218 = ref_1808041 # MOVZX operation
ref_47975353 = (ref_47885218 & 0xFF) # MOVZX operation
ref_47975355 = (ref_47975353 & 0xFF) # Byte reference - MOV operation
ref_49327882 = (ref_45450681 & 0xFF) # MOVZX operation
ref_49418017 = (ref_49327882 & 0xFF) # MOVZX operation
ref_49418019 = (ref_49418017 & 0xFF) # Byte reference - MOV operation
ref_50770546 = ref_1808039 # MOVZX operation
ref_50860681 = (ref_50770546 & 0xFF) # MOVZX operation
ref_53295218 = ref_1808045 # MOVZX operation
ref_53385353 = (ref_53295218 & 0xFF) # MOVZX operation
ref_53385355 = (ref_53385353 & 0xFF) # Byte reference - MOV operation
ref_54737882 = (ref_50860681 & 0xFF) # MOVZX operation
ref_54828017 = (ref_54737882 & 0xFF) # MOVZX operation
ref_54828019 = (ref_54828017 & 0xFF) # Byte reference - MOV operation
ref_56090359 = ((((ref_4422968) << 8 | ref_4422969) << 8 | ref_4422970) << 8 | ref_4422971) # MOV operation
ref_56270685 = (ref_56090359 & 0xFFFFFFFF) # MOV operation
ref_57533031 = ((((ref_4422964) << 8 | ref_4422965) << 8 | ref_4422966) << 8 | ref_4422967) # MOV operation
ref_58795365 = (ref_57533031 & 0xFFFFFFFF) # MOV operation
ref_58795367 = (((ref_58795365 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_58795368 = (((ref_58795365 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_58795369 = (((ref_58795365 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_58795370 = ((ref_58795365 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_58975703 = (ref_56270685 & 0xFFFFFFFF) # MOV operation
ref_60238037 = (ref_58975703 & 0xFFFFFFFF) # MOV operation
ref_60238039 = (((ref_60238037 & 0xFFFFFFFF) >> 24) & 0xFF) # Byte reference - MOV operation
ref_60238040 = (((ref_60238037 & 0xFFFFFFFF) >> 16) & 0xFF) # Byte reference - MOV operation
ref_60238041 = (((ref_60238037 & 0xFFFFFFFF) >> 8) & 0xFF) # Byte reference - MOV operation
ref_60238042 = ((ref_60238037 & 0xFFFFFFFF) & 0xFF) # Byte reference - MOV operation
ref_62672611 = ((((((((ref_60238039) << 8 | ref_60238040) << 8 | ref_60238041) << 8 | ref_60238042) << 8 | ref_58795367) << 8 | ref_58795368) << 8 | ref_58795369) << 8 | ref_58795370) # MOV operation
ref_63844828 = ((((((((ref_1808038) << 8 | ref_53385355) << 8 | ref_47975355) << 8 | ref_49418019) << 8 | ref_1808042) << 8 | ref_1808043) << 8 | ref_1808044) << 8 | ref_54828019) # MOV operation
ref_63934963 = ref_63844828 # MOV operation
ref_63934977 = (0x3F & ref_63934963) # AND operation
ref_64025137 = ref_63934977 # MOV operation
ref_64025151 = ((ref_64025137 << (0x4 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_64115319 = ref_62672611 # MOV operation
ref_64115323 = ref_64025151 # MOV operation
ref_64115325 = (ref_64115323 | ref_64115319) # OR operation
ref_64205493 = ref_64115325 # MOV operation
ref_66820410 = ((((((((ref_42565343) << 8 | ref_42565344) << 8 | ref_42565345) << 8 | ref_42565346) << 8 | ref_44008015) << 8 | ref_44008016) << 8 | ref_44008017) << 8 | ref_44008018) # MOV operation
ref_67722130 = ref_38597985 # MOV operation
ref_68533675 = ref_64205493 # MOV operation
ref_68713993 = ref_68533675 # MOV operation
ref_68714001 = (ref_68713993 >> (0x3 & 0x3F)) # SHR operation
ref_68714008 = ref_68714001 # MOV operation
ref_68804163 = ref_68714008 # MOV operation
ref_68804177 = (0xF & ref_68804163) # AND operation
ref_68984520 = ref_68804177 # MOV operation
ref_68984526 = (0x1 | ref_68984520) # OR operation
ref_69074694 = ref_67722130 # MOV operation
ref_69074698 = ref_68984526 # MOV operation
ref_69074700 = (ref_69074698 & 0xFFFFFFFF) # MOV operation
ref_69074702 = (ref_69074694 >> ((ref_69074700 & 0xFF) & 0x3F)) # SHR operation
ref_69074709 = ref_69074702 # MOV operation
ref_69886274 = ref_64205493 # MOV operation
ref_70066592 = ref_69886274 # MOV operation
ref_70066600 = (ref_70066592 >> (0x3 & 0x3F)) # SHR operation
ref_70066607 = ref_70066600 # MOV operation
ref_70156762 = ref_70066607 # MOV operation
ref_70156776 = (0xF & ref_70156762) # AND operation
ref_70337119 = ref_70156776 # MOV operation
ref_70337125 = (0x1 | ref_70337119) # OR operation
ref_70517472 = ref_70337125 # MOV operation
ref_70517474 = ((0x40 - ref_70517472) & 0xFFFFFFFFFFFFFFFF) # SUB operation
ref_70517482 = ref_70517474 # MOV operation
ref_71238872 = ref_38597985 # MOV operation
ref_71329007 = ref_71238872 # MOV operation
ref_71329019 = ref_70517482 # MOV operation
ref_71329021 = ((ref_71329007 << ((ref_71329019 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_71419189 = ref_69074709 # MOV operation
ref_71419193 = ref_71329021 # MOV operation
ref_71419195 = (ref_71419193 | ref_71419189) # OR operation
ref_71509355 = ref_71419195 # MOV operation
ref_71509369 = (0xF & ref_71509355) # AND operation
ref_71599529 = ref_71509369 # MOV operation
ref_71599543 = ((ref_71599529 << (0x2 & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_71689711 = ref_66820410 # MOV operation
ref_71689715 = ref_71599543 # MOV operation
ref_71689717 = (ref_71689715 | ref_71689711) # OR operation
ref_71779885 = ref_71689717 # MOV operation
ref_73222609 = ref_64205493 # MOV operation
ref_73402927 = ref_73222609 # MOV operation
ref_73402935 = (ref_73402927 >> (0x3 & 0x3F)) # SHR operation
ref_73402942 = ref_73402935 # MOV operation
ref_73493097 = ref_73402942 # MOV operation
ref_73493111 = (0x7 & ref_73493097) # AND operation
ref_73673454 = ref_73493111 # MOV operation
ref_73673460 = (0x1 | ref_73673454) # OR operation
ref_74394855 = ((((((((ref_1808038) << 8 | ref_53385355) << 8 | ref_47975355) << 8 | ref_49418019) << 8 | ref_1808042) << 8 | ref_1808043) << 8 | ref_1808044) << 8 | ref_54828019) # MOV operation
ref_74484990 = ref_74394855 # MOV operation
ref_74485002 = ref_73673460 # MOV operation
ref_74485004 = ((ref_74484990 << ((ref_74485002 & 0xFF) & 0x3F)) & 0xFFFFFFFFFFFFFFFF) # SHL operation
ref_75206399 = ref_71779885 # MOV operation
ref_75927769 = ref_38597985 # MOV operation
ref_76017912 = ref_75206399 # MOV operation
ref_76017916 = ref_75927769 # MOV operation
ref_76017918 = (ref_76017916 | ref_76017912) # OR operation
ref_76108086 = ref_74485004 # MOV operation
ref_76108090 = ref_76017918 # MOV operation
ref_76108092 = (ref_76108090 | ref_76108086) # OR operation
ref_76198260 = ref_76108092 # MOV operation
ref_76378589 = ref_76198260 # MOV operation
ref_76378591 = ref_76378589 # MOV operation

print ref_76378591 & 0xffffffffffffffff
